const Test1Data = require("../dao/test1-data");
const Test2Data = require("../dao/test2-data");
const problem1Data = require("../dao/problem1-data")
const problem2Data = require("../dao/problem2-data")

class AnswerService {
  getTest1(ctx) {
    return {
      state: "OK",
      message: "获取到测试卷数据",
      Test1Data,
    };
  }
  getTest2(ctx) {
    return {
      state: "OK",
      message: "获取到测试卷数据",
      Test2Data,
    };
  }

  getProblem1(ctx) {
    return {
      state: "OK",
      message: "获取到课程数据",
      problem1Data,
    };
  }
  getProblem2(ctx) {
    return {
      state: "OK",
      message: "获取到课程数据",
      problem2Data,
    };
  }
}

module.exports = new AnswerService();
